#ifndef __OUTPUTCONTROLLER_H__
#define __OUTPUTCONTROLLER_H__

#include "IOutputView.h"
#include "PersonList.h"
#include "FormatRadioButton.h"
#include "DisplayFormat.h"
#include "OutputButton.h"



class OutputController 
{    
public :
    OutputController(IOutputView* view);
    
    ~OutputController();

    void attachComponent(Button* b, RadioButton* rb1, RadioButton* rb2);
	
    void button_onClick();
  
    void radioButton_onSelected();

/*
private:
    void InitializeComponent()
    {    
        oButton_m->onClick += new System.EventHandler(button_onClick);
        radioButtonCasc_m->onSelected += new System.EventHandler(radioButton_onSelected);
    }
*/	

private:
     IOutputView* view_m;
     RadioButton* radioButtonCasc_m;
     RadioButton* radioButtonInch_m;
     Button* oButton_m;
};

#endif
